package com.projects.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.ComponentScans;

/**
 * 排除Thymeleaf自动配置
 */
@Configuration
@ComponentScans({
    @ComponentScan(excludeFilters = @Filter(type = FilterType.ASSIGNABLE_TYPE, 
        classes = {org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration.class}))
})
public class ThymeleafConfig {
    
}